body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header-nav {
    flex-shrink: 0;
    /* z-index: 1000; */


    /* position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%; */
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 99999;
    overflow-y: auto;
}




/* 连接配置区域 */
/* .config-bar {
    background-color: #f1f1f1;
    padding: 10px;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid #e0e0e0;
}

.config-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


.connection-config {
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
    flex-shrink: 0;

    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
} */


.contain-header {
    padding: 5px 7px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contain-header i {
    margin-right: 8px;
    color: #ffffff;
}

/*
.config-header span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.connection-form {
    padding: 15px;
} */

.form-row {
    /* display: flex;
    gap: 10px;
    align-items: flex-end; */
    /* width: 1200px; */
}

/* .form-group {
    flex: 0.66;
}

.form-group.small {
    flex: 0 0 55px;
}

.form-group.large {
    flex: 3;
}

.form-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 13px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #16baaa;
    outline: none;
}

.form-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
} */


/* 自定义按钮样式 */
.btn-small {
    height: 28px;
    line-height: 28px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-small:hover {
    border-color: #16baaa;
    color: #16baaa;
}





/* 状态栏 */
.status-bar {
    background-color: #f1f1f1;
    padding: 10px;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #666;

    /* margin: 10px 0;  */
    padding: 5px; 
    background-color: #f0f9ff; 
    border-left: 4px solid #1e90ff; 
}

.currentStatus {
    font-weight: 500;
}

.currentStatus.info {
    color: #0f43ff;
}

.currentStatus.success {
    color: #4caf50;
}

.currentStatus.error {
    color: #f44336;
}














.content-wrapper {
    flex: 1;
    display: flex;
    overflow: hidden;
    background-color: #f5f5f5;
}

.left-panel {
    width: 20%;
    min-width: 10%;
    max-width: 40%;
    background-color: #fff;
    border-right: 1px solid #e6e6e6;
    overflow: hidden;
    resize: horizontal;
    display: flex;
    flex-direction: column;
}

.middle-panel {
    width: 55%;
    min-width: 10%;
    max-width: 55%;
    background-color: #fff;
    overflow: hidden;
    resize: horizontal;
    display: flex;
    flex-direction: column;
}

.layui-table-tool-temp{
    padding-right: 25px;
    display: flex;
    justify-content: flex-start;
}

.right-panel {
    flex: 1;
    /* width: 25%; */
    min-width: 20%;
    /* min-width: 25%;
    max-width: 50%; */
    background-color: #fff;
    overflow: hidden;
    resize: horizontal;
    display: flex;
    flex-direction: column;
}

.folder-tree-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-details-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.code-editor-container {
    flex: 1;
    overflow: hidden;
}

.code-editor-content {
    height: 100%;
    padding: 0;
}


.path-display {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.path-display i {
    margin-right: 4px;
}

.details-content {
    flex: 1;
    overflow: auto;
    padding: 0px 2px;
}

.empty-placeholder {
    text-align: center;
    margin-top: 50px;
    color: #999;
}

.editor-actions {
    display: flex;
    gap: 5px;
}

/* 自定义滚动条样式 */
.left-panel::-webkit-scrollbar,
.middle-panel::-webkit-scrollbar,
.details-content::-webkit-scrollbar {
    width: 6px;
}

.left-panel::-webkit-scrollbar-track,
.middle-panel::-webkit-scrollbar-track,
.details-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.left-panel::-webkit-scrollbar-thumb,
.middle-panel::-webkit-scrollbar-thumb,
.details-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}


.file-path {
    flex: 1;
    display: flex;
    align-items: center;
    margin-right: 12px;
    max-width: 80%;
    overflow: hidden;
}

.path-text {
    font-size: 13px;
    color: #606266;
    background: #f4f4f5;
    padding: 4px 8px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.path-text:hover {
    background: #e1dfdf;
}



/* 抽屉样式 */
/* .custom-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.custom-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    padding: 20px;
    background: #f8f8f8;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.drawer-close {
    cursor: pointer;
    font-size: 20px;
    color: #666;
    line-height: 1;
    transition: color 0.3s;
}

.drawer-close:hover {
    color: #333;
}

.drawer-content {
    padding: 20px;
} */
/* 
.tool-section {
    margin-bottom: 20px;
}

.tool-section h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    border-left: 3px solid #16baaa;
    padding-left: 10px;
}

.tool-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-size: 13px;
}

.info-value {
    color: #333;
    font-size: 13px;
    font-weight: 500;
} */

/* 响应式调整 */
@media (max-width: 768px) {
    .left-panel {
        width: 280px;
        min-width: 250px;
    }
    .right-panel {
        width: 300px;
        min-width: 250px;
    }
    .custom-drawer {
        width: 320px;
        right: -320px;
    }
}
















